package route

import (
	"fmt"

	"github.com/gofiber/fiber/v2"
)

// 例如升级路由
func UpgradeRoute(app *fiber.App) {
	upgrade := app.Group("/upgrade")

	setting := upgrade.Group("/setting")

	setting.Get("/list", handler)

}
func handler(c *fiber.Ctx) error {
	fmt.Printf("%v", c.Body())
	return c.SendString("处理业务逻辑的handler")

}
